\hypertarget{structnih_1_1_sampler}{
\section{nih\-:\-:\-Sampler \-Struct \-Reference}
\label{structnih_1_1_sampler}\index{nih\-::\-Sampler@{nih\-::\-Sampler}}
}


{\ttfamily \#include $<$sampler.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{structnih_1_1_sampler_a393317f10a5ada969a41cf1f037bc900}{sample} (const uint32 num\-\_\-samples, uint32 $\ast$samples)
\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{structnih_1_1_sampler_a24346176a69c4450e74f760d65b6c287}{sample} (const uint32 num\-\_\-samples, \-T $\ast$samples)
\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{structnih_1_1_sampler_a133bf443ccb7341c8faccecbdbafaa3e}{sample} (const uint32 num\-\_\-samples, \hyperlink{structnih_1_1_vector}{\-Vector}$<$ \-T, 2 $>$ $\ast$samples)
\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{structnih_1_1_sampler_ab533b105cb9adc3d64d9fe71015321ef}{sample} (const uint32 num\-\_\-samples, \hyperlink{structnih_1_1_vector}{\-Vector}$<$ \-T, 3 $>$ $\ast$samples)
\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{structnih_1_1_sampler_aaf4d230e452992719e6c17d5224ae2b4}{sample} (const uint32 num\-\_\-samples, \hyperlink{structnih_1_1_vector}{\-Vector}$<$ \-T, 4 $>$ $\ast$samples)
\item 
{\footnotesize template$<$typename Image\-\_\-type $>$ }\\void \hyperlink{structnih_1_1_sampler_ae4d59f4b95488b3b8d6c7559ec1bb6ef}{sample} (const uint32 num\-\_\-samples, const uint32 num\-\_\-dims, \-Image\-\_\-type \&samples)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1_sampler_a4d60f1be8ce54fcd6eeab09f7fda1df3}{
std\-::vector$<$ uint32 $>$ {\bfseries m\-\_\-sample\-\_\-x}}
\label{structnih_1_1_sampler_a4d60f1be8ce54fcd6eeab09f7fda1df3}

\item 
\hypertarget{structnih_1_1_sampler_a00e98f2f8db653e2c4d85f20a4d2afae}{
std\-::vector$<$ uint32 $>$ {\bfseries m\-\_\-sample\-\_\-y}}
\label{structnih_1_1_sampler_a00e98f2f8db653e2c4d85f20a4d2afae}

\item 
\hypertarget{structnih_1_1_sampler_ad3baf65402d9be24ed8f4f1598be1162}{
\hyperlink{classnih_1_1_random}{\-Random} {\bfseries m\-\_\-random}}
\label{structnih_1_1_sampler_ad3baf65402d9be24ed8f4f1598be1162}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Latin \-Hypercube \hyperlink{structnih_1_1_sampler}{\-Sampler} 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{structnih_1_1_sampler_a393317f10a5ada969a41cf1f037bc900}{
\index{nih\-::\-Sampler@{nih\-::\-Sampler}!sample@{sample}}
\index{sample@{sample}!nih::Sampler@{nih\-::\-Sampler}}
\subsubsection[{sample}]{\setlength{\rightskip}{0pt plus 5cm}void nih\-::\-Sampler\-::sample (
\begin{DoxyParamCaption}
\item[{const uint32}]{num\-\_\-samples, }
\item[{uint32 $\ast$}]{samples}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_sampler_a393317f10a5ada969a41cf1f037bc900}
get a set of 1d stratified samples \hypertarget{structnih_1_1_sampler_a24346176a69c4450e74f760d65b6c287}{
\index{nih\-::\-Sampler@{nih\-::\-Sampler}!sample@{sample}}
\index{sample@{sample}!nih::Sampler@{nih\-::\-Sampler}}
\subsubsection[{sample}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void nih\-::\-Sampler\-::sample (
\begin{DoxyParamCaption}
\item[{const uint32}]{num\-\_\-samples, }
\item[{\-T $\ast$}]{samples}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_sampler_a24346176a69c4450e74f760d65b6c287}
get a set of 1d stratified samples \hypertarget{structnih_1_1_sampler_a133bf443ccb7341c8faccecbdbafaa3e}{
\index{nih\-::\-Sampler@{nih\-::\-Sampler}!sample@{sample}}
\index{sample@{sample}!nih::Sampler@{nih\-::\-Sampler}}
\subsubsection[{sample}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void nih\-::\-Sampler\-::sample (
\begin{DoxyParamCaption}
\item[{const uint32}]{num\-\_\-samples, }
\item[{{\bf \-Vector}$<$ \-T, 2 $>$ $\ast$}]{samples}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_sampler_a133bf443ccb7341c8faccecbdbafaa3e}
get a set of 2d stratified samples \hypertarget{structnih_1_1_sampler_ab533b105cb9adc3d64d9fe71015321ef}{
\index{nih\-::\-Sampler@{nih\-::\-Sampler}!sample@{sample}}
\index{sample@{sample}!nih::Sampler@{nih\-::\-Sampler}}
\subsubsection[{sample}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void nih\-::\-Sampler\-::sample (
\begin{DoxyParamCaption}
\item[{const uint32}]{num\-\_\-samples, }
\item[{{\bf \-Vector}$<$ \-T, 3 $>$ $\ast$}]{samples}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_sampler_ab533b105cb9adc3d64d9fe71015321ef}
get a set of 3d stratified samples \hypertarget{structnih_1_1_sampler_aaf4d230e452992719e6c17d5224ae2b4}{
\index{nih\-::\-Sampler@{nih\-::\-Sampler}!sample@{sample}}
\index{sample@{sample}!nih::Sampler@{nih\-::\-Sampler}}
\subsubsection[{sample}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void nih\-::\-Sampler\-::sample (
\begin{DoxyParamCaption}
\item[{const uint32}]{num\-\_\-samples, }
\item[{{\bf \-Vector}$<$ \-T, 4 $>$ $\ast$}]{samples}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_sampler_aaf4d230e452992719e6c17d5224ae2b4}
get a set of 4d stratified samples \hypertarget{structnih_1_1_sampler_ae4d59f4b95488b3b8d6c7559ec1bb6ef}{
\index{nih\-::\-Sampler@{nih\-::\-Sampler}!sample@{sample}}
\index{sample@{sample}!nih::Sampler@{nih\-::\-Sampler}}
\subsubsection[{sample}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Image\-\_\-type $>$ void nih\-::\-Sampler\-::sample (
\begin{DoxyParamCaption}
\item[{const uint32}]{num\-\_\-samples, }
\item[{const uint32}]{num\-\_\-dims, }
\item[{\-Image\-\_\-type \&}]{samples}
\end{DoxyParamCaption}
)}}
\label{structnih_1_1_sampler_ae4d59f4b95488b3b8d6c7559ec1bb6ef}
get a set of \-N-\/d stratified samples 

\-The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
sampling/\hyperlink{sampler_8h}{sampler.\-h}\item 
sampling/sampler\-\_\-inline.\-h\end{DoxyCompactItemize}
